<template>
  <ConfigProvider>
    <AppProvider>
      <router-view></router-view>
    </AppProvider>
  </ConfigProvider>
</template>

<script lang="ts">
  import { defineComponent } from 'vue';
  import { ConfigProvider } from 'ant-design-vue';
  import { initAppConfigStore } from '/@/logics/initAppConfig';
  import { AppProvider } from '/@/components/Application';
  export default defineComponent({
    name: 'App',
    components: {
      ConfigProvider,
      AppProvider,
    },
    setup() {
      // 初始化vuex里面的数据
      initAppConfigStore();
    },
  });
</script>
<style lang="less" scoped></style>
